import http from "@/utils/request";
//请求首页数据
export const getData = ()=>{
    //返回promise对象
return http.get('/home/getData')
}
export  const getDataclass = ()=>{
    return  http.get('/students/getclasses')
}
export  const getTableList = (params)=>{
    return  http.get('/user/getTableList',params)
}
export  const createListUser = (data)=>{
    return  http.post('/user/create',data)
}
export  const deleteList = (data)=>{
    return  http.post('/user/delete',data)
}
export  const EditList = (data)=>{
    return  http.post('/user/edit',data)
}
